package vn.orderonline.core.dao;

import java.util.List;

import vn.orderonline.core.dao.common.GenericDao;
import vn.orderonline.core.dao.entity.Admin;

public interface AdminDao extends GenericDao<Admin, Integer> {

	public List<Admin> search(String adminName, String adminEmail,
			String adminLoginId, String adminPassword);

	public Object[] getAdminByAdminLoginId(String username);

	public Boolean checkExistedAccount(String username, String password);

	public List<Object[]> getAllAdmin();

	public String getAdminNameByAccountName(String adminLoginId);
	
	public Boolean checkExistedEmail(String email);
	
	public Boolean checkExistedAdminLoginId(String adminLoginId);
		
}